package com.wangtianxiang.sxp.dbbase.config.db;

import java.util.HashMap;
import java.util.Map;

/**
 * 数据源配置参数属性类
 */
public class SxpDbConfigProperties {
	
	private Boolean enabled;
	
	/**
	 * 允许配置多个数据源
	 */
	private Map<String,SxpDatasourceProperties> datasources =new HashMap<>();

	/**
	 * 针对不同数据源配置mybatis 全局属性
	 */
	private Map<String,SxpMybaitsProperties> mybatis = new HashMap<>();
	
	public Boolean getEnabled() {
		return enabled;
	}

	public void setEnabled(Boolean enabled) {
		this.enabled = enabled;
	}

	public Map<String,SxpDatasourceProperties> getDatasources() {
		return datasources;
	}

	public void setDatasources(Map<String, SxpDatasourceProperties> datasources) {
		this.datasources = datasources;
	}

	public Map<String, SxpMybaitsProperties> getMybatis() {
		return mybatis;
	}

	public void setMybatis(Map<String, SxpMybaitsProperties> mybatis) {
		this.mybatis = mybatis;
	}
}
